#include "../common.h"
using namespace std;
extern BuiltinCmd blt[MAX_BUILTIN_FUNC_NUM];
char buf[80];
int git_pwd() {
    BuiltinCmd x;
    strcpy(x.name, "pwd");
    strcpy(x.desc, "find the root");
    x.hasAction = false;
    x.optNum = 2;
    strcpy(x.Help,"git pwd");
	strcpy(x.action, "git pwd");
	addBuiltinCmd(&x);
}
int git_pwd_cmdpline(){return 0;}
int git_pwd_run(){
	getcwd(buf, sizeof(buf));
    printf("current working directory : %s\n", buf);
    return 0;
}

